import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import axios from './api/init'

import open from '@/minixs/open'

Vue.config.productionTip = false
Vue.use(ElementUi)

Vue.prototype.$http = axios

const vm = new Vue({
  store,
  router,
  mixins: [open],
  render: h => h(App)
}).$mount('#app')
